﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Csla;
namespace EntGuayasSLA.BL.Listas.Criterias
{
    [Serializable]
    public class PersonaCriteria : BusinessBase<PersonaCriteria>
    {
        #region Business Methods
        public static readonly PropertyInfo<string> CedulaIdProperty = RegisterProperty<string>(c => c.Cedula);
        public string Cedula
        {
            get { return GetProperty(CedulaIdProperty); }
            set { SetProperty(CedulaIdProperty, value); }
        }
      
        #endregion

        #region Factory Methods

        public static PersonaCriteria NewPersonaCriteria()
        {
            return DataPortal.Create<PersonaCriteria>();
        }

        private PersonaCriteria()
        { /* Require use of factory methods */ }

        #endregion


    }

   
}
